project(
	'DPMS Demo',
	'cpp',
	version: '0.2.0',
	license: 'MIT',
	meson_version: '>=0.59.0',
	default_options: [
		'cpp_std=c++17',
		'c_std=c11',
		'warning_level=2',
		'werror=false',
	],
)

add_project_arguments( '-fPIC', language: ['cpp', 'c'])

dependency( 'pkg-config', required : true )
Qt5Widgets = dependency( 'Qt5Widgets', required : true )
Qt5Network = dependency( 'Qt5Network', required : true )
wayqt      = dependency( 'wayqt', required : true )

executable(
	'dpms',
	[ 'OutputPower.cpp' ],
	install : false,
	dependencies : [Qt5Widgets, Qt5Network, wayqt]
)
